package com.jy.wms.pojo;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.jy.wms.common.base.BaseModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.*;
import java.io.Serializable;
   /**
    * WmsCustomerFile 实体类
    * Wed Oct 11 11:26:05 CST 2017 Liyi
    */ 

@SuppressWarnings("serial")
@TableName("wms_customer_file")
public class WmsCustomerFile extends BaseModel implements Serializable {
	private String id; 	//ID
	private String sshzid; 	//所属货主ID

	   @NotEmpty(message = "客户类型不能为空")
	   @Max(value = 2,message = "客户类型不能大于2")
	   @Min(value = 0,message = "客户类型不能小于0")
	   @ApiModelProperty(value = "客户类型$$$true$true$true$wms_customer_file_khlx$2$vNull")
	private String khlx; 	//客户类型 0收货人 1承运人 2仓库

	   @NotEmpty(message = "客户编号不能为空")
	   @Length(min = 1, max = 64, message = "客户编号长度必须位于1到64之间")
	   @ApiModelProperty(value = "客户编号$$$true$true$false$$3$vNull")
	private String khbh; 	//客户编号

	   @NotEmpty(message = "客户名称不能为空")
	   @Length(min = 1, max = 64, message = "客户名称长度必须位于1到64之间")
	   @ApiModelProperty(value = "客户名称$$$true$true$false$$4$vNull")
	private String khmc; 	//客户名称

	   @NotEmpty(message = "客户地址不能为空")
	   @Length(min = 1, max = 255, message = "客户地址 长度必须位于1到255之间")
	   @ApiModelProperty(value = "客户地址$$$true$false$false$$5$vNull")
	private String dz; 	//地址

	   @NotEmpty(message = "省不能为空")
	private String sheng; 	//省

	   @NotEmpty(message = "市不能为空")
	private String shi; 	//市

	   @NotEmpty(message = "联系人电话不能为空")
	   @Pattern(regexp="^((13[0-9])|(15[^4,\\\\D])|(17[0-9])|(18[0-9]))\\\\d{8}$", message="联系人电话格式错误")
	   @ApiModelProperty(value = "联系电话$$$true$false$false$$7$vNull")
	private String lxrdh; 	//联系人电话

	   @NotEmpty(message = "联系人不能为空")
	   @Length(min = 1, max = 64, message = "联系人 长度必须位于1到64之间")
	   @ApiModelProperty(value = "联系人$$$true$false$false$$6$vNull")
	private String lxrxm; 	//联系人姓名

	   @NotEmpty(message = "激活状态不能为空")
	   @Max(value = 1,message = "激活状态不能大于1")
	   @Min(value = 0,message = "激活状态不能小于0")
	   @ApiModelProperty(value = "激活状态$$$true$true$true$wms_customer_file_sfjh$8$vNull")
	private String sfjh; 	//是否激活 0不激活 1激活

	   @TableField(exist=false)
	   private String show_sfjh;//是否激活显示信息
	   @TableField(exist=false)
	   private String show_khlx;//客户类型显示信息
	private String ckid; 	//仓库ID
	   private String sfyx;//是否有效 0无效 1有效
	   @TableField(exist=false)
	   private String xlmc;//路线名称

	   @NotEmpty(message = "路线ID不能为空")
	   private String lxid;//路线ID

   @TableField(exist=false)
   @ApiModelProperty(value = "货主$$字典接口：/wmsCustomerFi/getOwnerle$true$true$true$$1$vNull")
   private String hzmc;//货主名称

	   private String khdz;//客户地址

	   @TableField(exist=false)
	   private String provice;//省
	   @TableField(exist=false)
	   private String city;//省

	   @TableField(exist=false)
	   private String lxrname;//联系人姓名
	   @TableField(exist=false)
	   private String lxrphone;//联系人电话
	   @TableField(exist=false)
	   private String hyxm;//会员姓名


	public void setId(String id){
		this.id=id;
	}
	public String getId(){
		return id;
	}
	public void setSshzid(String sshzid){
		this.sshzid=sshzid;
	}
	public String getSshzid(){
		return sshzid;
	}
	public void setKhlx(String khlx){
		this.khlx=khlx;
	}
	public String getKhlx(){
		return khlx;
	}
	public void setKhbh(String khbh){
		this.khbh=khbh;
	}
	public String getKhbh(){
		return khbh;
	}
	public void setKhmc(String khmc){
		this.khmc=khmc;
	}
	public String getKhmc(){
		return khmc;
	}
	public void setDz(String dz){
		this.dz=dz;
	}
	public String getDz(){
		return dz;
	}
	public void setSheng(String sheng){
		this.sheng=sheng;
	}
	public String getSheng(){
		return sheng;
	}
	public void setShi(String shi){
		this.shi=shi;
	}
	public String getShi(){
		return shi;
	}
	public void setLxrdh(String lxrdh){
		this.lxrdh=lxrdh;
	}
	public String getLxrdh(){
		return lxrdh;
	}
	public void setLxrxm(String lxrxm){
		this.lxrxm=lxrxm;
	}
	public String getLxrxm(){
		return lxrxm;
	}
	public void setSfjh(String sfjh){
		this.sfjh=sfjh;
	}
	public String getSfjh(){
		return sfjh;
	}
	public void setCkid(String ckid){
		this.ckid=ckid;
	}
	public String getCkid(){
		return ckid;
	}

	   public String getHzmc() {
		   return hzmc;
	   }

	   public void setHzmc(String hzmc) {
		   this.hzmc = hzmc;
	   }

	   public String getSfyx() {
		   return sfyx;
	   }

	   public void setSfyx(String sfyx) {
		   this.sfyx = sfyx;
	   }

	   public String getXlmc() {
		   return xlmc;
	   }

	   public void setXlmc(String xlmc) {
		   this.xlmc = xlmc;
	   }

	   public String getLxid() {
		   return lxid;
	   }

	   public void setLxid(String lxid) {
		   this.lxid = lxid;
	   }

	   public String getShow_sfjh() {
		   return show_sfjh;
	   }

	   public void setShow_sfjh(String show_sfjh) {
		   this.show_sfjh = show_sfjh;
	   }

	   public String getShow_khlx() {
		   return show_khlx;
	   }

	   public void setShow_khlx(String show_khlx) {
		   this.show_khlx = show_khlx;
	   }

	   public String getKhdz() {
		   return khdz;
	   }

	   public void setKhdz(String khdz) {
		   this.khdz = khdz;
	   }

	   public String getProvice() {
		   return provice;
	   }

	   public void setProvice(String provice) {
		   this.provice = provice;
	   }

	   public String getCity() {
		   return city;
	   }

	   public void setCity(String city) {
		   this.city = city;
	   }

	   public String getLxrname() {
		   return lxrname;
	   }

	   public void setLxrname(String lxrname) {
		   this.lxrname = lxrname;
	   }

	   public String getLxrphone() {
		   return lxrphone;
	   }

	   public void setLxrphone(String lxrphone) {
		   this.lxrphone = lxrphone;
	   }

	   public String getHyxm() {
		   return hyxm;
	   }

	   public void setHyxm(String hyxm) {
		   this.hyxm = hyxm;
	   }
   }

